package com.union.core.information.dao;

import java.util.List;

import com.union.core.information.model.Announcement;

public interface AnnouncementDao{
	
	public List<Announcement> queryList(int announcement_id,String announcement_name,String announcement_content,String join_date1,
			String join_date2,String add_user,String add_time,int org_id,String paramName, String paramValue, String orderByName,int start,int pageSize);
	
	public int quertListCount(int announcement_id,String announcement_name,String announcement_content,String join_date1,
			String join_date2,String add_user,String add_time,int org_id,String paramName, String paramValue);
	
	public Announcement query(int announcement_id);
	
	public Announcement queryNew(int org_id);
	
	public boolean add(Announcement announcement);
	
	public boolean edit(Announcement announcement);
	
	public Boolean delete(int announcement_id);
}